#include "MySqlExplainType.h"

MySqlExplainType_ptr MySqlExplainType::EXTENDED = MySqlExplainType_ptr(new MySqlExplainType(1ULL << 0, make_string_ptr("EXTENDED")));
MySqlExplainType_ptr MySqlExplainType::PARTITIONS = MySqlExplainType_ptr(new MySqlExplainType(1ULL << 1, make_string_ptr("PARTITIONS")));
MySqlExplainType_ptr MySqlExplainType::FORMAT = MySqlExplainType_ptr(new MySqlExplainType(1ULL << 2, make_string_ptr("FORMAT")));

MySqlExplainType::MySqlExplainType(uint64_t mask, string_ptr name)
{
  this->mask = mask;
  this->name = name;
}
